package com.ele.Service;

import com.ele.Pojo.Employee;

import java.util.List;

public interface EmployeeService {
    //查所有
    public List<Employee> getAll();
    //查部分
    public List<Employee> query(String account, String telephone, String nickname);
    //添加员工
    public Integer addEmp(Employee emp);
    //修改员工信息
    public Integer updateEmp(Employee emp);
    //删除
    public Integer deleteEmp(String id);

    /**
     * 员工登录
     * @param account
     * @param password
     * @return
     */
    Employee empLogin(String account, String password);


}
